package com.the_last.config;

import com.the_last.utils.SnowflakeIdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class SnowflakeIdWorkerConfig {
    
    @Bean
    public SnowflakeIdWorker snowflakeIdWorker() {
        return new SnowflakeIdWorker(1, 1);
    }
    
}
